/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.app.service;

import com.yanlight.app.request.OrderPlaceRequest;
import com.yanlight.app.response.OrderPlaceResponse;

/**
 * 
 * @author haolw
 * @time 2017/10/25
 */
public interface PayService {
	
	boolean checkConfig(Integer companyId);
	
	boolean validate(OrderPlaceRequest request);
	
	String getMchUserId(Integer companyId);
	
	OrderPlaceResponse placeOrder(OrderPlaceRequest request);
	
}
